﻿using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.Text;

namespace MongoDB_Simple_Demo
{
    public class Dog
    {
        [BsonElement("_id")]
        public ObjectId Id { get; set; }

        public string Name { get; set; }

        public int Age { get; set; }


        public Person Master { get; set; }
    }
}
